package com.gxa.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gxa.entity.SysProvider;
import com.gxa.entity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("供应商用户表")
public class ProviderVo {

    @ApiModelProperty(name = "id",notes = "提供商ID,主键",dataType = "Integer",required = true)
    private Integer id;
    @ApiModelProperty(name = "name",notes = "提供商名称",dataType = "String",required = true)
    private String name;
    @ApiModelProperty(name = "providerType",notes = "供应商类型，默认为“供应商”",dataType = "Integer",required = true)
    private String providerType;
    @ApiModelProperty(name = "level",notes = "供应商等级，1-5星，默认1",dataType = "Integer",required = true)
    private Integer level;
    @ApiModelProperty(name = "status",notes = "供应商状态，是否有效 0有效，1失效，默认0",dataType = "Byte",required = true)
    private Byte status;
    @ApiModelProperty(name = "intention",notes = "供应商意向",dataType = "String",required = false)
    private String intention;
    @ApiModelProperty(name = "type",notes = "公海或者私海，默认私海 0 为私海 1为公海",dataType = "Byte",required = true)
    private Byte type;
    @ApiModelProperty(name = "employeeNum",notes = "员工数量",dataType = "Integer",required = false)
    private Integer employeeNum;
    @ApiModelProperty(name = "province",notes = "省",dataType = "String",required = false)
    private String province;
    @ApiModelProperty(name = "city",notes = "市",dataType = "String",required = false)
    private String city;
    @ApiModelProperty(name = "address",notes = "详细地址",dataType = "String",required = false)
    private String address;
    @ApiModelProperty(name = "contact",notes = "供应商联系人",dataType = "String",required = false)
    private String contact;
    @ApiModelProperty(name = "contactPhone",notes = "供应商的手机号码",dataType = "String",required = false)
    private String contactPhone;
    @ApiModelProperty(name = "userId",notes = "供应商负责人",dataType = "Integer",required = true)
    private Integer userId;
    @ApiModelProperty(name = "companyCreateTime",notes = "公司创建时间",dataType = "Date",required = true)
    private String companyCreateTime;
    @ApiModelProperty(name = "createTime",notes = "当前记录的创建时间",dataType = "Date",required = true)
    private String createTime;
    @ApiModelProperty(name = "updateTime",notes = "当前记录的更新时间",dataType = "Date",required = true)
    private String updateTime;
    @ApiModelProperty(name = "isDeleted",notes = "当前记录的删除标记 0是未删除，1删除 默认：0",dataType = "Byte",required = true)
    private Byte isDeleted;
    @ApiModelProperty("负责人名字")
    private String username;
}
